<!DOCTYPE html>
<html lang="en">

@include('pages.block.header')

<body class="nav-md">

<div class="container body">
    <div class="main_container">

        <!-- left navigation -->
        <div class="col-md-3 left_col" style="position: fixed;">
            <div class="left_col">
                <div class="navbar nav_title" style="border: 0;">
                    <a href="javascript:;" class="site_title"> <span>运营商后台</span></a>
                </div>
                <div class="clearfix"></div>

                <!-- menu prile quick info -->
                <div class="profile">
                    <div class="profile_pic">
                        <img src="{{ asset(config('view.assets_path').'/assets/images/img.jpg') }}"
                             alt="..." class="img-circle profile_img">
                    </div>
                    <div class="profile_info">
                        <span>超级管理员,</span>
                        <h2>super admin</h2>
                    </div>
                </div>
                <!-- /menu prile quick info -->

                <br/>

                <!-- sidebar menu -->
                <div id="sidebar-menu" class="main_menu_side hidden-print main_menu">
                    <div class="menu_section">
                        @if($navConfig[0])
                            <h3>&nbsp;</h3>
                            <h3>{{ $navConfig[0]['title'] }}</h3>
                            <ul class="nav side-menu">
                                @foreach($navConfig[0]['nav_menu_seconds'] as $navSeconds)
                                    <li>
                                        <a>
                                            <i class="fa fa-home"></i>{{ $navSeconds['title'] }}<span
                                                    class="fa fa-chevron-down"></span>
                                        </a>
                                        <ul class="nav child_menu" style="display: none;max-height: 200px;overflow-y: auto;">
                                            @foreach($navSeconds['nav_menu_thirds'] as $navThirds)
                                                <li><a href="javascript:;">{{ $navThirds['title'] }}</a></li>
                                            @endforeach
                                        </ul>
                                    </li>
                                @endforeach
                            </ul>
                        @endif
                    </div>
                </div>
                <!-- /sidebar menu -->
            </div>
        </div>
        <!-- /left navigation -->

        <!-- top navigation -->
        <div class="top_nav navbar-fixed-top">
            <div class="nav_menu">
                <nav class="" role="navigation">
                    <div class="nav toggle">
                        <a id="menu_toggle"><i class="fa fa-bars"></i></a>
                    </div>

                    <ul class="nav navbar-nav navbar-left">
                        @foreach($navConfig as $navFirsts)
                            <li class="">
                                <a href="javascript:;" class="user-profile dropdown-toggle" data-toggle="dropdown"
                                   aria-expanded="false">
                                    <span class="nav-top-main-font">{{ $navFirsts['title'] }}</span><span
                                            class="fa fa-angle-down"></span>
                                </a>
                                <ul class="dropdown-menu dropdown-usermenu animated fadeInDown pull-right">
                                    @foreach($navFirsts['nav_menu_seconds'] as $navSeconds)
                                        <li class="">
                                            <div href="javascript:;">
                                                <div class="nav-top-sub-div">
                                                    <i class="fa fa-home"></i><span
                                                            class="nav-top-sub-font">{{ $navSeconds['title'] }}</span>
                                                </div>
                                                <div>
                                                    @for($i=0; $i<count($navSeconds['nav_menu_thirds']); $i++)
                                                        <span class="nav-top-third-span">{{$navSeconds['nav_menu_thirds'][$i]['title']}}</span>
                                                    @endfor
                                                </div>
                                            </div>
                                        </li>
                                    @endforeach
                                </ul>
                            </li>
                        @endforeach
                    </ul>
                </nav>
            </div>
        </div>
        <!-- /top navigation -->

        <!-- page content -->
        <div class="right_col" role="main">
            <div style="clear: both;margin-top: 57px;">
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
                <div>xxxxxxxxx</div>
            </div>
        </div>
        <!-- /page content -->

    </div>
</div>

<div id="navigation_data" style="display: none;">
    {{json_encode($navConfig)}}
</div>

@include('pages.block.footer')
</body>

</html>
